# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=himitsu
pkgver=0.5
pkgrel=1
pkgdesc="A secret storage manager"
url="https://himitsustore.org"
arch="x86_64 aarch64" # Hare
license="GPL-3.0-only"
install="$pkgname.post-upgrade"
makedepends="hare scdoc"
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu/archive/$pkgver.tar.gz"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make PREFIX=/usr check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

dev() {
	amove usr/src
}

sha512sums="
6e9c304df824814179dd99e67dbed6c78860127eabe73df13d7b8f06e32cf47700cb7e1450e862d68ad4e1004d5feb9195cb1b91849b8b8436a1d149d5d0ace2  himitsu-0.5.tar.gz
"
